sarthak
06/25/2024, 11:27 AMBibek Sahoo
06/25/2024, 11:42 AMsarthak
06/25/2024, 12:10 PMCaused by: org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is there any specific path in which we have to put all generated certs?Bibek Sahoo
06/25/2024, 12:15 PMBibek Sahoo
06/25/2024, 12:22 PMopenssl s_client -connect localhost:9092 -showcerts.Sean G
06/25/2024, 2:49 PM"bootstrap.servers": "<redacted>",
"druid.dynamic.config.provider": {
"type": "environment",
"variables": {
"ssl.key.password": "TLS_KEYSTORE_PASSWORD",
"ssl.keystore.password": "TLS_KEYSTORE_PASSWORD",
"ssl.truststore.password": "TLS_TRUSTSTORE_PASSWORD"
}
},
"ssl.keystore.location": "/druid/tls/keystore.jks",
"ssl.truststore.location": "/druid/tls/truststore.jks",
"ssl.keystore.type": "JKS",
"security.protocol": "SSL",
"ssl.endpoint.identification.algorithm": ""
That last one is there because I read that in some cases it needs to be set like this. It worked and I never tried it without it 🙂sarthak
06/28/2024, 7:28 AMsarthak
06/28/2024, 7:30 AMBibek Sahoo
06/28/2024, 7:41 AMsarthak
06/28/2024, 8:14 AMBibek Sahoo
06/28/2024, 8:27 AMsarthak
06/28/2024, 10:12 AMsarthak
06/28/2024, 11:20 AMSean G
06/28/2024, 12:27 PM